Skip to content

refactor(icons): consolidate all inline SVGs into central icon registry#63

Merged
trialiya merged 1 commit into
mainfrom
claude/consolidate-svg-icons-u3n41n
Jun 26, 2026
Merged

refactor(icons): consolidate all inline SVGs into central icon registry#63
trialiya merged 1 commit into
mainfrom
claude/consolidate-svg-icons-u3n41n

Conversation

@trialiya

@trialiya trialiya commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Move every inline SVG defined in component JSX files into
frontend/src/icons/index.jsx:

  • IconDragHandle (TreeNode.jsx drag handle)
  • IconSparkleSimple (Phrases.jsx phrase-block header)
  • IconRefreshCw with spinning prop (JiraAttachmentPanel.jsx)
  • IconJira, IconConfluence (JiraAttachmentPanel.jsx brand logos)
  • IconStatusStarted, IconStatusOk, IconStatusError (Message.jsx tool-call status)

Reuse existing central icons where the inline duplicated them:

  • IconDoc replaces local IconFile (JiraAttachmentPanel)
  • IconEye, IconX, IconLink replace local copies (JiraAttachmentPanel)
  • IconWorld + IconChevronDown replace inline SVGs (LanguageSwitcher)

Add className prop to IconWorld to support LanguageSwitcher styling.

Move every inline SVG defined in component JSX files into
frontend/src/icons/index.jsx:

- IconDragHandle (TreeNode.jsx drag handle)
- IconSparkleSimple (Phrases.jsx phrase-block header)
- IconRefreshCw with spinning prop (JiraAttachmentPanel.jsx)
- IconJira, IconConfluence (JiraAttachmentPanel.jsx brand logos)
- IconStatusStarted, IconStatusOk, IconStatusError (Message.jsx tool-call status)

Reuse existing central icons where the inline duplicated them:
- IconDoc replaces local IconFile (JiraAttachmentPanel)
- IconEye, IconX, IconLink replace local copies (JiraAttachmentPanel)
- IconWorld + IconChevronDown replace inline SVGs (LanguageSwitcher)

Add className prop to IconWorld to support LanguageSwitcher styling.
No component renders were changed; all 27 frontend tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GZX5NKmXuTmFn6BMMRMw9e
@trialiya trialiya merged commit 6824a6e into main Jun 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants